#!/usr/bin/env  python2.7
import time
import os

def get_rtc_time():
    buf =  os.popen("i2cdump -f -y -r 0-15 0 0x51").readlines()
    if len(buf) >= 3 :
        return buf[2]
    return None
def set_rtc_time():
    pass
    
def sync_to_host():
    pass
    
def sync_to_rtc():
    pass